package com.bussiness.impl;

import java.util.Set;

import com.bussiness.GeoInterface;
import com.bussiness.domain.Location;
import com.dao.GeoCodeDao;
import com.dao.impl.GeoCodeDaoImpl;

public class GeoImpl implements GeoInterface{
	private GeoCodeDao gcd;
	
	public GeoImpl() {
		gcd = new GeoCodeDaoImpl();		
	}

	@Override
	public Long save(Location location) {
		return gcd.save(location);
	}

	@Override
	public boolean delete(Location location) {
		return gcd.delete(location);
	}

	@Override
	public boolean update(Location location) {
		// TODO Auto-generated method stub
		return false;
	}


	@Override
	public Set<Location> search(Location location, double distance) {
		// TODO Auto-generated method stub
		return null;
	}

}
